package com.cbn.ibcp.web.client;

import com.cbn.ibcp.common.core.domain.Result;
import com.cbn.ibcp.web.client.dto.CpVideoDTO;
import com.dtflys.forest.annotation.BaseRequest;
import com.dtflys.forest.annotation.JSONBody;
import com.dtflys.forest.annotation.Post;

@BaseRequest(baseURL = "${gsCmsUrl}", contentType = "application/xml")
public interface GsCmsClient {


    @Post(value = "/ba3_DeleteContentController/doAction")
    String deleteContentAction(@JSONBody String data);


    @Post(value = "/v1/operator/fixedTsFileNotExist", contentType = "application/json")
    Result<Boolean> fixedTsFileNotExist(@JSONBody CpVideoDTO cpVideoDTO);

}
